﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormPrinting.aspx.cs" Inherits="VSM.FormPrinting" %>

<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<%--<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>--%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:HiddenField ID="hdnDocEntry" runat="server" />
        <asp:HiddenField ID="hdnDocType" runat="server" />
        <asp:HiddenField ID="hdnPrintType" runat="server" />
        <asp:Button ID="btnBack" runat="server" OnClientClick="turnBack();"  Text="Back" width="74px" />
        <asp:Button ID="btnPrint" runat="server" onclick="btnPrint_Click" Text="Print" Width="74px" />
        <asp:Label ID="lblError" runat="server" ForeColor="Red" 
            style="font-weight: 700" />
        <asp:HiddenField ID="hf_GeneralID" runat="server" ClientIDMode="Static" />
        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
            AutoDataBind="true" EnableDrillDown="False" 
            GroupTreeStyle-ShowLines="False" HasCrystalLogo="False" 
            HasDrillUpButton="False" HasRefreshButton="True" 
            HasToggleGroupTreeButton="False" Height="50px" PrintMode="ActiveX" 
            Width="350px" />    
    </div>
    </form>
</body>
</html>
